


package tpcar.ejb;
import javax.ejb.Remote;
/**
 * Defines an interface for bean used to managed the app.
 */
@Remote
public interface AdminPersonne {

	/**
  * add a new card.
  * @return true if the creation succeed.
  */  
  public boolean  addPersonne(final String nom, final String prenom, final String dateNaissance, final String lieuNaissance
		  , final String sexe);
  
  public boolean removePersonne(final String nom, final String prenom) throws Exception;
  
  public boolean  modifyPersonne(final String nom, final String prenom, final String dateNaissance, final String lieuNaissance
		  , final String sexe
		  );  
  public Personne getPersonne(String nom, String prenom);

}
